package com.ruoyi.sms.enums;

/**
 * 短信服务返回状态码
 */
public enum ResultCode {

    SUCCESS("发送成功", 200),
    ERROR("发送失败", 500);

    private final String status;
    private final Integer code;

    ResultCode(String status, Integer code) {
        this.status = status;
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public Integer getCode() {
        return code;
    }
}
